{layout name="layout" /}
<div class="clearfix section">
    <div class="section_left left">
        <div class="img_contact">
            <img src="_RES_ROOT_/img/contont_d.png" alt=""/>
        </div>
        <div class="title_contact">
            <h3>联系我们</h3>
        </div>
    </div>
    <div class="section_right right">
        <div class="section_one clearfix">
            <div class="site left">
                <h3>公司地址</h3>
                <p class="name">好公司啊好公司</p>
                <p>公司地址：0000000000000</p>
                <p>邮政编码：xxxxxxxx</p>
            </div>
            <div class="map right">
                <div id="allmap"></div>
            </div>
        </div>
        <div class="section_two clearfix">
            <div class="left">
                <h3>媒体联络</h3>
                <p>联系方式：xxxxxxxxxxx</p>
            </div>
            <div class="right">
                <h3>商务合作</h3>
                <p>联系方式：xxxxxxxxxxx</p>
            </div>
        </div>
        <div class="section_three clearfix">
            <dl class="left clearfix">
                <dt class="left">
                    <img src="_RES_ROOT_/img/content_us_a.png" alt=""/>
                </dt>
                <dd class="left">
                    <p>新浪微博</p>
                    <p>xxxxxxxxxxx</p>
                </dd>
            </dl>
            <dl class="left clearfix">
                <dt class="left">
                    <img src="_RES_ROOT_/img/content_us_b.png" alt=""/>
                </dt>
                <dd class="left">
                    <p>微信</p>
                    <p>xxxxxxxxxxx</p>
                </dd>
            </dl>

        </div>
    </div>
</div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=qZouesB4l7R9GH7qNGb0QxqL2TQmNBeO"></script>
<script>
    // 百度地图API功能
    var map = new BMap.Map("allmap");
    var point = new BMap.Point(116.468293, 39.922318);
    map.centerAndZoom(point, 16);
    var marker = new BMap.Marker(new BMap.Point(116.468293, 39.922318)); // 创建点
    var circle = new BMap.Circle(point, 15, {strokeColor: "blue", strokeWeight: 2, strokeOpacity: 0.5}); //创建圆
    //添加覆盖物
    function add_overlay() {
        map.addOverlay(marker);            //增加点
        //		map.addOverlay(polyline);          //增加折线
//				map.addOverlay(circle);            //增加圆
        //		map.addOverlay(polygon);           //增加多边形
        //		map.addOverlay(rectangle);         //增加矩形
    }
    //清除覆盖物
    function remove_overlay() {
        map.clearOverlays();
    }
    window.onload = function () {
        add_overlay();
    }
</script>
</html>
